﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Icoders.MarketTracker.Core.MasterData;

namespace Icoders.MarketTracker.Core.Transaction
{
    public class PurchaseOrder : TransactionEntityBase
    {
        public PurchaseOrder()
        {
            Items = new List<PurchaseOrderItem>();
        }
        public int ClientId { get; set; }
        public int FsrtId { get; set; }
        public int PopId { get; set; }
        public string PurchaseOrderRef { get; set; }
        public List<PurchaseOrderItem> Items { get; set; }
    }
    public class PurchaseOrderItem : TransactionEntityBase
    {
        public int ProductId { get; set; }
        public int ReasonId { get; set; }
        public Guid PurchaseId { get; set; }
        public decimal Quantity { get; set; }
        public decimal Price { get; set; }
    }
}
